package com.imooc.domain;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * Create By Liuqz
 *
 * @date 2018/6/2 20:20
 */
@Data
@Entity(name = "order_detail")
public class OrderDetail {

    /** 订单详情Id */
    @Id
    private String detailId;

    /**  订单Id */
    private String orderId;

    /** 商品Id */
    private String productId;

    /** 商品名称 */
    private String productName;

    /** 商品价格 */
    private BigDecimal productPrice;

    /** 商品数量 */
    private Integer productQuantity;

    /** 商品小图 */
    private String productIcon;
}
